package com.yuanfeng.business.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ShopContractController
 * @Description
 * @Author hyq
 * @Date 2023/8/17 10:22
 * @Version 1.0
 **/
@RestController
@RequestMapping("shop/contract")
public class ShopContractController extends BaseController{


    /**
     * 查找店铺合同信息
     *
     * @param shopId
     * @return
     */
    @GetMapping("/getShopContract")
    public ResponseResult getShopContract(@RequestParam("shopId") Integer shopId) {
        return shopContractService.getShopContract(shopId);
    }
}
